XIQS Get Price Plan Credit Info

From IQsimWiki

Jump to: navigation, search

XIQS Get Price Plan Credit Info - Price Plan Management

Description
getXIQSPPCreditInfo ( Long id_priceplan )
Get from Price Plan object Sim Credit parameters
Parameters

Long id_priceplan

Price Plan Id
Return Values
NOTE:
List of Sim Credit parameters for specified Price Plan object

List List of Price Plan objects

Long cp_inclusivsec - Call Credit Peak Initial Credit (seconds)

Integer cp_allowoverplan - Call Credit Peak Allow Over Plan flag

Integer cp_allowcrossnet - Call Credit Peak Allow CrossNet flag

Long cop_inclusivsec - Call Credit Off Peak Initial Credit (seconds)

Integer cop_allowoverplan - Call Credit Off Peak Allow Over Plan flag

Integer cop_allowcrossnet - Call Credit Off Peak Allow CrossNet flag

Long cb_inclusivsec - Call Credit Bonus Initial Credit (seconds)

Integer cb_allowoverplan - Call Credit Bonus Allow Over Plan flag

Integer cb_allowcrossnet - Call Credit Bonus Allow CrossNet flag

Long sp_inclusivnb - SMS Credit Peak Initial Credit

Integer sp_allowoverplan - SMS Credit Peak Allow Over Plan flag

Integer sp_allowcrossnet - SMS Credit Peak Allow CrossNet flag

Long sop_inclusivnb - SMS Credit Off Peak Initial Credit

Integer sop_allowoverplan - SMS Credit Off Peak Allow Over Plan flag

Integer sop_allowcrossnet - SMS Credit Off Peak Allow CrossNet flag

Long sb_inclusivnb - SMS Credit Bonus Initial Credit

Integer sb_allowoverplan - SMS Credit Bonus Allow Over Plan flag

Integer sb_allowcrossnet - SMS Credit Bonus Allow CrossNet flag

Long data_inclusivmb - Inclusive data (MB)

Integer data_allowoverplan - Data allow Over Plan

Long daypass_lowspeeddata - Daypass low speed data

Long data_offnet_inclusivmb - Offnet inclusive data (MB)

Integer data_offnet_allowoverplan - Offnet data allow Over Plan

Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJ_NOT_FOUND (404) ERR_MSG_PPLAN_NOT_FOUND
*ERR_UNAUTHORIZED (401) ERR_MSG_OBJ_NOT_OWNED
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSPricePlanList

createXIQSPricePlan

updateXIQSPricePlan

getXIQSPPSettingsInfo

getXIQSPPTopupInfo

getXIQSPPCreditCheckInfo

deleteXIQSPricePlan

getXIQSUSSDCreditCheckString

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List